package com.project.class3_29;

import java.util.ArrayList;
import java.util.List;

public class CarTest {
    public static void main(String[] args) {
        Car c1 = new Car("川A-0934","宝马","白色",1000000);
        Car c2 = new Car("川B-3948","红旗","红色",200000);

        List<Car> carList = new ArrayList<>();
        carList.add(c1);
        carList.add(c2);
    }
}
